<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
    <head>
       <meta charset="utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <title>Ingreso al Eva</title>
        
        <!--<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.css" />
        <link rel="stylesheet" href="css/style.css" />       
        <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script>
        <script src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
        <script src="./scripts/utpljs.js"></script>  -->
        <link rel="stylesheet" href="css/jquery.mobile-1.0.1.css" />
        <link rel="stylesheet" href="css/style.css" />       
        <script src="scripts/jquery.min1.6.4.js"></script>        
        <script src="scripts/jquery.mobile-1.0.1.min.js"></script>
        <script src="scripts/utpljs.js"></script>
    </head>
    <body>
        <?php
              global $USER, $CFG, $COURSE;
              require_once('../config.php');             
                if (isloggedin()) {
                   require_logout(); 
                }
        ?>
        
        <div data-role="page" id="login" data-theme="b">
            <!--<div data-theme="b" data-role="header">
                <h4>
                    Ingreso
                </h4>
            </div>-->
            <div id="contenido" data-role="content" >
                <div class="logo">
                    <img src="imgs/eva-movil.jpg" width="90%"  alt="logo utpl"/>              
                </div>
                
                <form id="login-form" url="#">              
                        <ul data-role="listview" width="60%" data-inset="true" >
                                <li data-role="list-divider">Ingreso</li>
                                <li>
                                    <div data-role="fieldcontain">
                                        <fieldset  data-role="controlgroup">
                                            <label class="labels" for="username">
                                                Usuario
                                            </label>
                                            <input name="username" id="username" placeholder="Usuario" value="" type="text" />
                                        </fieldset>
                                    </div>
                                </li>
                                <li>
                                    <div data-role="fieldcontain">
                                        <fieldset  data-role="controlgroup">
                                            <label class="labels" for="password">
                                                Clave
                                            </label>
                                            <input name="password" id="password" placeholder="Clave" value="" type="password" />
                                        </fieldset>  
                                        <input name="oper" id="oper"  value="login" type="hidden" />
                                    </div>
                                </li>
                                <li>
                                    <input id="login-btn"   data-theme="b" data-icon="check" data-iconpos="top" value="Ingresar" type="button"  />
                               </li>
                        </ul>       
                </form>
                <div class="logo">
                        UTPL  
                </div>
                
            </div>
            <!--<div data-theme="b" data-role="footer">
                <h5>
                    <img src="./imgs/logo2.png" whith="50px" height="40px"   alt="logo utpl"/> 
                </h5>
            </div>-->
        </div>
        
         <?php
           
        ?>
        
        <div data-role="page" id="muro">
            <div data-theme="b" data-role="header">               
                <h1>
                    EVA
                </h1>
                <a href="index.php" id="exit" data-role="button" data-icon="delete" data-transition="fade" data-iconpos="notext">Salir</a>               
            </div>
            
            <div id="contenido-muro" data-role="content">
                
             
            </div>
            
            <div data-theme="b" data-role="footer">
                <h5>
                     <img src="./imgs/logo2.png" whith="50px" height="40px"   alt="logo utpl"/>
                </h5>
            </div>
       </div>
        
        
        <?php
           
        ?>
        
        <div data-role="page" id="error">
            <div data-theme="a" data-role="header">               
                <h1 id="header-muro">
                    Autentificacion fallida
                </h1>
                
            </div>
            
            <div id="error_content" data-role="content">
                <div align="center"><h1>Usuario y contraseña incorrectos</h1></div>
                <a data-theme="b" href="#login" id="exit" data-role="button" data-icon="info" data-transition="fade" >Aceptar</a>               
            </div>
            
            <div data-theme="a" data-role="footer">
                <h5>
                    <img src="./imgs/logo2.png" whith="50px" height="40px"   alt="logo utpl"/>
                </h5>
            </div>
       </div>
        
        
    </body>
</html>
